.class public Lcom/estrongs/fs/impl/usb/fs/ntfs/l;
.super Lcom/estrongs/fs/impl/usb/fs/ntfs/r;
.source "FileRecord.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;,
        Lcom/estrongs/fs/impl/usb/fs/ntfs/l$e;,
        Lcom/estrongs/fs/impl/usb/fs/ntfs/l$f;,
        Lcom/estrongs/fs/impl/usb/fs/ntfs/l$d;
    }
.end annotation


# static fields
.field private static final i:Ljava/lang/String; = "l"


# instance fields
.field private d:J

.field protected e:Les/o50;

.field protected f:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/t50;",
            ">;"
        }
    .end annotation
.end field

.field private g:Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute;

.field private h:Lcom/estrongs/fs/impl/usb/fs/ntfs/k;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>(Lcom/estrongs/fs/impl/usb/fs/ntfs/t;J[BI)V
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    invoke-direct {p0, p1, p4, p5}, Lcom/estrongs/fs/impl/usb/fs/ntfs/r;-><init>(Lcom/estrongs/fs/impl/usb/fs/ntfs/t;[BI)V

    .line 2
    iput-wide p2, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->d:J

    const/16 p1, 0x20

    .line 3
    invoke-virtual {p0, p1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->o(I)Les/t50;

    move-result-object p1

    check-cast p1, Les/o50;

    iput-object p1, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->e:Les/o50;

    return-void
.end method

.method static synthetic a(Lcom/estrongs/fs/impl/usb/fs/ntfs/l;)J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->d:J

    return-wide v0
.end method

.method static synthetic a(Lcom/estrongs/fs/impl/usb/fs/ntfs/l;I)Les/t50;
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->p(I)Les/t50;

    move-result-object p0

    return-object p0
.end method

.method private p(I)Les/t50;
    .locals 3

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->h()Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;

    move-result-object v0

    .line 3
    :cond_0
    invoke-virtual {v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;->a()Les/t50;

    move-result-object v1

    if-eqz v1, :cond_1

    .line 4
    invoke-virtual {v1}, Les/t50;->c()I

    move-result v2

    if-ne v2, p1, :cond_0

    return-object v1

    :cond_1
    const/4 p1, 0x0

    return-object p1
.end method

.method static synthetic s()Ljava/lang/String;
    .locals 1

    .line 1
    sget-object v0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->i:Ljava/lang/String;

    return-object v0
.end method

.method private declared-synchronized t()Ljava/util/List;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Les/t50;",
            ">;"
        }
    .end annotation

    monitor-enter p0

    .line 1
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->f:Ljava/util/List;

    if-nez v0, :cond_1

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->f:Ljava/util/List;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 3
    :try_start_1
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->e:Les/o50;

    if-nez v0, :cond_0

    .line 4
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->h()Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;

    move-result-object v0

    goto :goto_0

    .line 5
    :cond_0
    new-instance v0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$d;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$d;-><init>(Lcom/estrongs/fs/impl/usb/fs/ntfs/l;Lcom/estrongs/fs/impl/usb/fs/ntfs/l$a;)V

    .line 6
    :goto_0
    invoke-virtual {v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;->a()Les/t50;

    move-result-object v1

    if-eqz v1, :cond_1

    .line 7
    iget-object v2, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->f:Ljava/util/List;

    invoke-interface {v2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 8
    :try_start_2
    sget-object v1, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->i:Ljava/lang/String;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "Error getting attributes for entry: "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2, v0}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 9
    :cond_1
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->f:Ljava/util/List;
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    monitor-exit p0

    return-object v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    goto :goto_2

    :goto_1
    throw v0

    :goto_2
    goto :goto_1
.end method


# virtual methods
.method public a(ILjava/lang/String;)Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;
    .locals 2

    .line 3
    new-instance v0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$b;

    invoke-direct {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->t()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    invoke-direct {v0, p0, v1, p1, p2}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$b;-><init>(Lcom/estrongs/fs/impl/usb/fs/ntfs/l;Ljava/util/Iterator;ILjava/lang/String;)V

    return-object v0
.end method

.method public a(J[BII)V
    .locals 7
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v1, 0x0

    move-object v0, p0

    move-wide v2, p1

    move-object v4, p3

    move v5, p4

    move v6, p5

    .line 4
    invoke-virtual/range {v0 .. v6}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->a(Ljava/lang/String;J[BII)V

    return-void
.end method

.method public a(Ljava/lang/String;J[BII)V
    .locals 22
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    move-object/from16 v0, p0

    move-wide/from16 v1, p2

    move-object/from16 v3, p4

    move/from16 v4, p5

    move/from16 v5, p6

    if-nez v5, :cond_0

    return-void

    :cond_0
    const/16 v6, 0x80

    move-object/from16 v7, p1

    .line 5
    invoke-virtual {v0, v6, v7}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->a(ILjava/lang/String;)Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;

    move-result-object v6

    .line 6
    invoke-virtual {v6}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;->a()Les/t50;

    move-result-object v7

    if-eqz v7, :cond_8

    .line 7
    invoke-virtual {v7}, Les/t50;->j()Z

    move-result v8

    const-string v9, "Resident attribute should be by itself, file record = "

    if-eqz v8, :cond_3

    .line 8
    invoke-virtual {v6}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;->a()Les/t50;

    move-result-object v6

    if-nez v6, :cond_2

    .line 9
    check-cast v7, Les/v50;

    .line 10
    invoke-virtual {v7}, Les/v50;->k()I

    move-result v6

    if-lt v6, v5, :cond_1

    .line 11
    invoke-virtual {v7}, Les/v50;->l()I

    move-result v6

    long-to-int v2, v1

    add-int/2addr v6, v2

    invoke-virtual {v7, v6, v3, v4, v5}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->a(I[BII)V

    return-void

    .line 12
    :cond_1
    new-instance v1, Ljava/io/IOException;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "File data("

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v3, "b) is not large enough to read:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v3, "b"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v1

    .line 13
    :cond_2
    new-instance v1, Ljava/io/IOException;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v1

    .line 14
    :cond_3
    invoke-virtual/range {p0 .. p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/r;->f()Lcom/estrongs/fs/impl/usb/fs/ntfs/t;

    move-result-object v8

    invoke-virtual {v8}, Lcom/estrongs/fs/impl/usb/fs/ntfs/t;->b()I

    move-result v8

    int-to-long v10, v8

    .line 15
    div-long v12, v1, v10

    int-to-long v14, v5

    add-long/2addr v14, v1

    const-wide/16 v16, 0x1

    sub-long v14, v14, v16

    .line 16
    div-long/2addr v14, v10

    sub-long/2addr v14, v12

    add-long v14, v14, v16

    long-to-int v10, v14

    mul-int v11, v10, v8

    .line 17
    new-array v11, v11, [B

    const/4 v14, 0x0

    .line 18
    :goto_0
    invoke-virtual {v7}, Les/t50;->j()Z

    move-result v15

    if-nez v15, :cond_7

    .line 19
    check-cast v7, Les/u50;

    const/16 v20, 0x0

    move-object/from16 v16, v7

    move-wide/from16 v17, v12

    move-object/from16 v19, v11

    move/from16 v21, v10

    .line 20
    invoke-virtual/range {v16 .. v21}, Les/u50;->a(J[BII)I

    move-result v15

    add-int/2addr v14, v15

    if-ne v14, v10, :cond_4

    goto :goto_1

    .line 21
    :cond_4
    invoke-virtual {v7}, Les/u50;->p()I

    move-result v7

    int-to-long v3, v7

    sub-long/2addr v12, v3

    .line 22
    invoke-virtual {v6}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;->a()Les/t50;

    move-result-object v7

    if-nez v7, :cond_6

    :goto_1
    if-ne v14, v10, :cond_5

    long-to-int v2, v1

    .line 23
    rem-int/2addr v2, v8

    move-object/from16 v3, p4

    move/from16 v4, p5

    invoke-static {v11, v2, v3, v4, v5}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    return-void

    :cond_5
    move/from16 v4, p5

    .line 24
    new-instance v1, Ljava/io/IOException;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "Requested "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v3, " clusters but only read "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v14}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v3, ", offset = "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v3, ", file record = "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v1

    :cond_6
    move-object/from16 v3, p4

    move/from16 v4, p5

    goto :goto_0

    .line 25
    :cond_7
    new-instance v1, Ljava/io/IOException;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v1

    .line 26
    :cond_8
    new-instance v1, Ljava/io/IOException;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "Data attribute not found, file record = "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    goto :goto_3

    :goto_2
    throw v1

    :goto_3
    goto :goto_2
.end method

.method public b(ILjava/lang/String;)J
    .locals 3

    .line 1
    invoke-virtual {p0, p1, p2}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->a(ILjava/lang/String;)Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;

    move-result-object v0

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;->a()Les/t50;

    move-result-object v1

    if-eqz v1, :cond_2

    const-wide/16 p1, 0x0

    :goto_0
    if-eqz v1, :cond_1

    .line 3
    invoke-virtual {v1}, Les/t50;->j()Z

    move-result v2

    if-eqz v2, :cond_0

    .line 4
    check-cast v1, Les/v50;

    invoke-virtual {v1}, Les/v50;->k()I

    move-result v1

    int-to-long v1, v1

    goto :goto_1

    .line 5
    :cond_0
    check-cast v1, Les/u50;

    invoke-virtual {v1}, Les/u50;->k()J

    move-result-wide v1

    :goto_1
    add-long/2addr p1, v1

    .line 6
    invoke-virtual {v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;->a()Les/t50;

    move-result-object v1

    goto :goto_0

    :cond_1
    return-wide p1

    .line 7
    :cond_2
    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Failed to find an attribute with type: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string p1, " and name: \'"

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "\'"

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    goto :goto_3

    :goto_2
    throw v0

    :goto_3
    goto :goto_2
.end method

.method public g()V
    .locals 6
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/r;->c()I

    move-result v0

    const v1, 0x454c4946

    if-eq v0, v1, :cond_3

    const/4 v0, 0x0

    .line 2
    :goto_0
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->b()[B

    move-result-object v1

    array-length v1, v1

    if-ge v0, v1, :cond_2

    .line 3
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    move v2, v0

    :goto_1
    add-int/lit8 v3, v0, 0x20

    if-ge v2, v3, :cond_1

    .line 4
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->b()[B

    move-result-object v4

    array-length v4, v4

    if-ge v2, v4, :cond_1

    .line 5
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->b()[B

    move-result-object v3

    aget-byte v3, v3, v2

    invoke-static {v3}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;

    move-result-object v3

    .line 6
    :goto_2
    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v4

    const/4 v5, 0x2

    if-ge v4, v5, :cond_0

    .line 7
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const/16 v5, 0x30

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_2

    :cond_0
    const/16 v4, 0x20

    .line 8
    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    add-int/lit8 v2, v2, 0x1

    goto :goto_1

    :cond_1
    move v0, v3

    goto :goto_0

    .line 9
    :cond_2
    new-instance v0, Ljava/io/IOException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Invalid magic found: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/r;->c()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 10
    :cond_3
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->o()J

    move-result-wide v0

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-ltz v4, :cond_5

    .line 11
    iget-wide v2, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->d:J

    cmp-long v4, v2, v0

    if-nez v4, :cond_4

    goto :goto_3

    .line 12
    :cond_4
    new-instance v0, Ljava/io/IOException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Stored reference number "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->o()J

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string v2, " does not match reference number "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-wide v2, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->d:J

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_5
    :goto_3
    return-void
.end method

.method public h()Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;
    .locals 2

    .line 1
    new-instance v0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$f;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$f;-><init>(Lcom/estrongs/fs/impl/usb/fs/ntfs/l;Lcom/estrongs/fs/impl/usb/fs/ntfs/l$a;)V

    return-object v0
.end method

.method public i()Ljava/lang/String;
    .locals 1

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->j()Lcom/estrongs/fs/impl/usb/fs/ntfs/k;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/k;->m()Ljava/lang/String;

    move-result-object v0

    return-object v0

    :cond_0
    const/4 v0, 0x0

    return-object v0
.end method

.method public j()Lcom/estrongs/fs/impl/usb/fs/ntfs/k;
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->h:Lcom/estrongs/fs/impl/usb/fs/ntfs/k;

    if-nez v0, :cond_2

    const/16 v0, 0x30

    .line 2
    invoke-virtual {p0, v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->n(I)Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;

    move-result-object v0

    .line 3
    invoke-virtual {v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;->a()Les/t50;

    move-result-object v1

    :goto_0
    if-eqz v1, :cond_2

    .line 4
    iget-object v2, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->h:Lcom/estrongs/fs/impl/usb/fs/ntfs/k;

    if-eqz v2, :cond_0

    .line 5
    invoke-virtual {v2}, Lcom/estrongs/fs/impl/usb/fs/ntfs/k;->n()I

    move-result v2

    const/4 v3, 0x1

    if-eq v2, v3, :cond_1

    .line 6
    :cond_0
    check-cast v1, Lcom/estrongs/fs/impl/usb/fs/ntfs/k;

    iput-object v1, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->h:Lcom/estrongs/fs/impl/usb/fs/ntfs/k;

    .line 7
    :cond_1
    invoke-virtual {v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;->a()Les/t50;

    move-result-object v1

    goto :goto_0

    .line 8
    :cond_2
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->h:Lcom/estrongs/fs/impl/usb/fs/ntfs/k;

    return-object v0
.end method

.method public k()I
    .locals 1

    const/16 v0, 0x14

    .line 1
    invoke-virtual {p0, v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->g(I)I

    move-result v0

    return v0
.end method

.method public l()I
    .locals 1

    const/16 v0, 0x16

    .line 1
    invoke-virtual {p0, v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->g(I)I

    move-result v0

    return v0
.end method

.method public m()J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->d:J

    return-wide v0
.end method

.method public m(I)Les/t50;
    .locals 3

    .line 2
    invoke-direct {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->t()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/t50;

    .line 3
    invoke-virtual {v1}, Les/t50;->e()I

    move-result v2

    if-ne v2, p1, :cond_0

    return-object v1

    :cond_1
    const/4 p1, 0x0

    return-object p1
.end method

.method public n()Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->g:Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute;

    if-nez v0, :cond_0

    const/16 v0, 0x10

    .line 2
    invoke-virtual {p0, v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->m(I)Les/t50;

    move-result-object v0

    check-cast v0, Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute;

    iput-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->g:Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute;

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->g:Lcom/estrongs/fs/impl/usb/fs/ntfs/StandardInformationAttribute;

    return-object v0
.end method

.method public n(I)Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;
    .locals 2

    .line 4
    new-instance v0, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$a;

    invoke-direct {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->t()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    invoke-direct {v0, p0, v1, p1}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$a;-><init>(Lcom/estrongs/fs/impl/usb/fs/ntfs/l;Ljava/util/Iterator;I)V

    return-object v0
.end method

.method public o()J
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->p()I

    move-result v0

    const/16 v1, 0x30

    if-lt v0, v1, :cond_0

    const/16 v0, 0x2c

    .line 2
    invoke-virtual {p0, v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->i(I)J

    move-result-wide v0

    return-wide v0

    :cond_0
    const-wide/16 v0, -0x1

    return-wide v0
.end method

.method public o(I)Les/t50;
    .locals 3

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->h()Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;

    move-result-object v0

    .line 4
    :cond_0
    invoke-virtual {v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l$c;->a()Les/t50;

    move-result-object v1

    if-eqz v1, :cond_1

    .line 5
    invoke-virtual {v1}, Les/t50;->e()I

    move-result v2

    if-ne v2, p1, :cond_0

    return-object v1

    :cond_1
    const/4 p1, 0x0

    return-object p1
.end method

.method public p()I
    .locals 1

    const/4 v0, 0x4

    .line 1
    invoke-virtual {p0, v0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/s;->g(I)I

    move-result v0

    return v0
.end method

.method public q()Z
    .locals 1

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->l()I

    move-result v0

    and-int/lit8 v0, v0, 0x2

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public r()Z
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->l()I

    move-result v0

    const/4 v1, 0x1

    and-int/2addr v0, v1

    if-eqz v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    :goto_0
    return v1
.end method

.method public toString()Ljava/lang/String;
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->r()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-super {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "[fileName="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Lcom/estrongs/fs/impl/usb/fs/ntfs/l;->i()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "]"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0

    .line 3
    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-super {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "[unused]"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
